package cn.com.css.taxInspection.workflow.controller;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.com.css.taxInspection.system.entity.SysDictDetailEntity;
import cn.com.css.taxInspection.common.result.DataResult;
import cn.com.css.taxInspection.gt3.entity.DmGySwjgEntity;
import cn.com.css.taxInspection.gt3.service.DmGySwjgService;
import cn.com.css.taxInspection.system.service.SysDictDetailService;
import cn.com.css.taxInspection.workflow.entity.WorkflowThresholdDetailEntity;
import cn.com.css.taxInspection.workflow.service.WorkflowThresholdDetailService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;


/**
 * 阈值明细管理
 *
 * @author wenbin
 * @version V1.0
 * @date 2020年3月18日
 */
@Api(tags = "阈值明细管理")
@RestController
@RequestMapping("/workflow/code")
public class WorkflowCodeController {
    @Resource
    private DmGySwjgService dmGySwjgService;

    @ApiOperation(value = "新增")
    @PostMapping("/dmGyswjgByCurrentMan")
    public DataResult dmGyswjgByCurrentMan() {
		
    	List<DmGySwjgEntity> list = dmGySwjgService.getDmGyswjgByCurrentMan();
    	
    	return DataResult.success(list);
    }

   
}
